import request from '@/utils/request'

// 房间表列表
export function apiRoomLists(params: any) {
    return request.get({ url: '/room/lists', params })
}

// 添加房间表
export function apiRoomAdd(params: any) {
    return request.post({ url: '/room/add', params })
}

// 编辑房间表
export function apiRoomEdit(params: any) {
    return request.post({ url: '/room/edit', params })
}

// 删除房间表
export function apiRoomDelete(params: any) {
    return request.post({ url: '/room/delete', params })
}

// 房间表详情
export function apiRoomDetail(params: any) {
    return request.get({ url: '/room/detail', params })
}

// 恢复房间表
export function apiRoomRestore(params: any) {
    return request.post({ url: '/room/recover', params })
}

// 获取价格列表
export function price_list(params: any) {
    return request.get({ url: '/room/price_list', params })
}

// 设置价格
export function apiSetAmount(params: any) {
    return request.post({ url: '/room/set_price', params })
}

// 删除价格
export function apiDeletePrice(params: any) {
    return request.post({ url: '/room/del_price', params })
}

